body {
    background-color: #f8f9fa;
    padding-top: 30px;
}

.image-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.image-display {
    padding: 20px;
    text-align: center;
    background-color: #f1f3f5;
}

.admin-badge {
     background: linear-gradient(45deg, #6f42c1, #8e44ad);
     color: white;
     padding: 4px 12px;
     border-radius: 20px;
     font-size: 0.8rem;
     font-weight: 600;
     margin-left: 10px;
     vertical-align: middle;
 }

 .admin-name {
     color: #6f42c1 !important;
 }

.image-display img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.image-meta {
    padding: 25px;
}

.image-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.meta-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.meta-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.meta-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}

.meta-value {
    color: #333;
}

.sidebar {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f3f5;
    color: #333;
}

.tag-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
}

.tag-name {
    font-weight: 500;
    color: #444;
}

.tag-value {
    color: #666;
}

.description-content {
    white-space: pre-line;
    line-height: 1.6;
    color: #444;
}

.action-buttons {
    margin-top: 20px;
}

.btn-action {
    margin-right: 10px;
    margin-bottom: 10px;
}

.tag-actions {
    display: none;
    gap: 5px;
    margin-left: 10px;
}

.tag-item:hover .tag-actions {
    display: flex;
}

.tag-action-btn {
    padding: 4px 6px;
    font-size: 14px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    border: 1px solid #ddd;
}

.add-tag-btn {
    margin-top: 10px;
}

.modal-content {
    border-radius: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.loading {
    text-align: center;
    padding: 10px;
    color: #666;
}

.image-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.admin-action-btn {
    margin-right: 10px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 4px;
}

.status-public {
    background: #28a745;
    color: white;
}

.status-hidden {
    background: #dc3545;
    color: white;
}